﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;

namespace DataModels.Models.Context
{
    public class CustomReportsContext : DbContext
    {
        static CustomReportsContext()
        {
            Database.SetInitializer<IQSMS_TestDBContext>(null);
        }

        public CustomReportsContext()
            : base("Name=IQSMS_TestDBContext")
        {
            //Database.CreateIfNotExists();
        }

        public DbSet<QueryType> QueryTypes { get; set; }
        public DbSet<QueryCategory> QueryCategories { get; set; }
        public DbSet<Query> Queries { get; set; }
        public DbSet<QueryParameter> QueryParameters { get; set; }
        public DbSet<User> Users { get; set; }
    }
}
